<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>登录-MyBooks</title>
</head>
<body>
    <form method="post">
        <label>登录名:</label><input type="text" name="username" placeholder="输入您的登录名"/><br/>
        <label>密码:</label><input type="password" name="password" placeholder="输入您的密码"/><br/>
        <input type="submit" value="登录"/>
        <input type="button" value="取消" onclick="location.href='/'"/>
        <div th:text="${msg}"></div>
    </form>
</body>
</html>